<div id="detailContainer" style="width: 100%; text-align: left;">
    <h2 id="detail_title"></h2>
    <table style="left: 0px;">
        <tr>
            <th>Alimento</th><th>Tolera</th><th>Comentarios</th>
        </tr>
        <?php foreach($alimentosTolerancia as $alimento){?>
            <tr class="detail-frame" bgColor="#EAEFA5">
                <td>
                    <?php echo $alimento["AlimentoTolerancia"]["alimento"];?>
                </td>
                <td>
                    <input type="hidden" class="tolerancia" alimentoId="<?php echo $alimento['AlimentoTolerancia']['id'];?>" id="tolera_<?php echo $alimento['AlimentoTolerancia']['id'];?>" />
                    Si <input type="radio" id="si_<?php echo $alimento['AlimentoTolerancia']['id'];?>" name="tolera_<?php echo $alimento['AlimentoTolerancia']['id'];?>" value="1" />
                    No <input type="radio" id="no_<?php echo $alimento['AlimentoTolerancia']['id'];?>" name="tolera_<?php echo $alimento['AlimentoTolerancia']['id'];?>" value="0" />
                </td>
                <td>
                    <input type="text" id="comentario_<?php echo $alimento['AlimentoTolerancia']['id'];?>" style="width: 300px;" />
                </td>
            </tr>
        <?php }?>

        <tr>
                <td colspan="3"><div id="errorMessage"></div></td>
        </tr>
        <tr >
                <td colspan="3" align="right">
        <br />
                <button id="btnReporte">Reporte</button>
                <div id="divReporteTolerancia" style="display:none;" title="Tolerancia Alimentaria"></div>
                <!--<input type="button" name="sbtcancel" id="sbtcancel" value="Cancelar" class="standar-button" onclick="window.parent.$('#detail').dialog( 'close' );" > -->
                <input type="button" name="sbtguardar" id="sbtguardar" value="Guardar" class="standar-button" >
        </td>
        </tr>

        </table>
</div>
